/*****************************************************************************************/
/* ECSE 426 - Microprocessor - Fall 2009
/* Final Project
/* main.c
/* Game logic and user interface
/****************************************************************************************/

#include <msp430x14x.h>
#include <main.h>

//Set pins appropriately
#define DB4 0x01
#define DB5 0x02
#define DB6 0x04
#define DB7 0x08

#define RS 0x10
#define RW 0x20
#define E 0x40

void main(void)
{
  // Stop watchdog timer
  WDTCTL = WDTPW + WDTHOLD;
  

  
  //init the LCD
  initLCD();

  //print out some text
  //testLCD();

  printLCD("Hello world!");

  clearLCD();

  printLCD("Screen cleared! Overflow to 2nd line works too!");

  while(1);
}
